package com.david.concurrent.quickstart;

/**
 * @author wade
 * @version 1.0
 * @date 2021/7/19 15:09
 */
public class ThreadStart {

    public static class MyThread extends Thread{
        @Override
        public void run() {
            System.out.println("i am a child thread...");
            String name = this.getName();
            System.out.println("name = " + name);
        }
    }

    public static void main(String[] args) {
        new MyThread().start();
    }
}
